﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Volo.Abp;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Himp.Platform.Dc
{
    /// <summary>
    /// 药品类别
    /// </summary>
    [Table("DRUG_TYPE")]
    public class DrugType : Entity<Guid>, IMultiTenant, ISoftDelete
    {
        /// <summary>
        /// 药品目录类别编码
        /// </summary>
        [Column("DRUG_TYPE_CODG")]
        public string DrugTypeCodg { get; set; }

        /// <summary>
        /// 药品目录类别名称
        /// </summary>
        [Column("DRUG_TYPE_NAME")]
        public string DrugTypeName { get; set; }

        /// <summary>
        /// 公用项目类别Id
        /// </summary>
        public Guid PubItemTypeId { get; set; }

        /// <summary>
        /// 有效标识
        /// </summary>
        [Column("VALI_FLAG")]
        public bool ValiFlag { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
